import request from '@/utils/request'

export const getSubjectList = (data) => {
  return request({
    url: '/subject',
    method: 'get',
    data
  })
}

export const addSign = (data) => {
  return request({
    url: '/subject/sign',
    method: 'post',
    data
  })
}

export const getSignList = (data) => {
  return request({
    url: '/subject/sign',
    method: 'get',
    data
  })
}

export const getSignRecord = (data) => {
  return request({
    url: '/subject/sign/record',
    method: 'get',
    data
  })
}

export const addSignLog = (data) => {
	return request({
		url: '/subject/sign/log',
		method: 'post',
		data
	})
}

export const isSgned = (data) => {
	return request({
		url: '/subject/sign/exist',
		method: 'get',
		data
	})
}